home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Snippets / PolyPumper 1.4.1 / Read Me < prev    next >
Encoding:
Text File  |  1995-12-15  |  2.6 KB  |  79 lines  |  [TEXT/ttxt]

  1. PolyPumper_1.4.c.sit.hqx - Think C 5.
  2. ------------------------
  3.  
  4. This is an itty bitty bytes(tm) production.  It was derived from
  5. modifications of two source code projects.  "RadarScope" which
  6. was my version of the radar part of "BuzyBox" of MacHack fame, and
  7. of the Pascal source "SplatMaster" by John Benton.
  8.  
  9. PolyPumper 1.4 has increased controls over the 1.2 version, and
  10. includes a splash screen.  
  11.  
  12. The splash was created with Color It! 2.3, from MicroFrontier, 
  13. and background  pattern was created in "SplatMaster 2.0" (soon to 
  14. be released, in Think Pascal).
  15.  
  16. Functionality:
  17.  
  18. (Warning:  Does not check for multiple monitors.)
  19. Puts up a full screen window, sans MBar, draws radial polygons,
  20. with divisions set at 12, radii at random, painted and framed 
  21. over a white background.  
  22.  
  23. I changed and added some key controls since PolyPumper 1.2.
  24.  
  25. These key hits control and exit (no modifier keys necessary).
  26.  
  27. +    Increase divisions by two (noticable with div. not rand).
  28. -    Decrease divisions by two (noticable with div. not rand).
  29. *    Pause or not.
  30. A    About PolyPumper 1.4.
  31. B    Black background or not.
  32. C    Clear window once.
  33. D    Divisons random or not.
  34. F    Frame polygons or not.
  35. K    Key Hit Commands.
  36. P    Paint polygons or not.
  37. R    Radii random or not.
  38. S    Erase window after 1 second delay, or not.
  39. Q    Quit PolyPumper 1.4.
  40.  
  41. Obviously if you have frame ('f') off and paint ('p') off, you'll 
  42. not see any drawing.  Nor will you at "pause" (duh).
  43.  
  44. Screen capture can work any time, but single ('s') only pauses to a
  45. blank screen.
  46.  
  47. With black background, multi-poly's (for a while) and then turn 
  48. off paint, the frame-only drawing can be interesting.
  49.  
  50. Paint off and single on is line-art (duh).  
  51.  
  52. Frame on, paint off, for wire frames.  But hit '*' (pause), then
  53. 'c' (clears drawings), then '**' for about three draws (can't outrun
  54. the CPU).  A '*c**' sequence can produce some nice patterns for your 
  55. next woodworking or stained glass project.  :^)
  56.  
  57. For novice, Mac C programmers
  58. ------------------------------
  59. This source shows how to:
  60.  
  61. How to hide and show the menu bar.
  62. How to do one form of color check.
  63. How to create a full-screen color window (no multi-monitor check).
  64. How to do one kind of splash screen.
  65. How to draw and RGB fill polygons (though not simply).
  66. How to use single key hits to control action and exit.
  67. How to set RGB fore and back colors with one line.
  68. How to draw colored text into the window.
  69. How to get random values in a range you set in the call.
  70. How to install toggles of actions, including pause.
  71. (etc.)
  72.  
  73. Any suggestions are welcome.  This is a Public Domain source code
  74. project.
  75.  
  76. Enjoy!!!
  77.  
  78. kenlong@netcom.com
  79.